package cn.com.clearbus.controller;

import cn.com.clearbus.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/order")
public class OrderController {

    @Autowired
    OrderService orderService;

    @RequestMapping(value = "/selectOrderbyIds",method = RequestMethod.GET)
    public List<Map> selectOrderbyIds() {
        List<Map> maps = orderService.selectOrderbyIds();
        return maps;
    }



}
